home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / battutor.arc / _FIND.BAT < prev    next >
DOS Batch File  |  1986-05-05  |  1KB  |  41 lines

  1. echo off
  2. .                              _find.bat       revised 19-aug-83 21:30
  3. more <_find.rem
  4. :example
  5. slash/ll/ OK, open a drive door, etc
  6. pause
  7. findfile more.com
  8. if errorlevel 255 goto cantfind
  9. if errorlevel 4 goto e
  10. if errorlevel 3 goto d
  11. if errorlevel 2 goto c
  12. if errorlevel 1 goto b
  13. slash/ll/       Found MORE.COM file on drive A:
  14. goto continue
  15. :b
  16. slash/ll/       Found MORE.COM file on drive B:
  17. goto continue
  18. :c
  19. slash/ll/       Found MORE.COM file on drive C:
  20. goto continue
  21. :d
  22. slash/ll/       Found MORE.COM file on drive D:
  23. :e
  24. slash/ll/       Found MORE.COM on a virtual drive higher than D:
  25. slash/l/        You've gotta lotta drives!
  26. :cantfind
  27. slash/ll/       Findfile cannot find MORE.COM on any ready drive.
  28.  
  29.  
  30. :continue
  31. query/lll/              Want to repeat this example (y/n) ?
  32. if errorlevel 2 goto exit
  33. if errorlevel 1 goto example
  34. slash/ll/  We'll pause here while you make sure all drives doors are
  35. slash/  /  are closed, etc.  Please be sure MORE.COM is still
  36. slash/  /  available in the same drive as before.  Thanks.
  37. slash/l
  38. pause
  39. more <_epilog.rem
  40. or (gasp!) a winnie?
  41. slash/l/(Don't type y